package tianrun.ziguan.api.calculate.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import tianrun.ziguan.api.calculate.config.entity.base.BaseAssetInstance;

public class TAssetStaticPropertiesInstance extends BaseAssetInstance {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String label;
    private String value;
    private Long moduleId;
    @TableLogic(value = "true", delval = "false")
    private Boolean isValid;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String unique() {
        return label;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(Boolean valid) {
        isValid = valid;
    }
}
